projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9a71a8
)
(term_init): If no `se', use `me';
author
Richard M. Stallman
<rms@gnu.org>
Sat, 12 Feb 1994 22:32:39 +0000
(22:32 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 12 Feb 1994 22:32:39 +0000
(22:32 +0000)
if no `me' either, don't use standout mode at all.
src/term.c
patch
|
blob
|
history
diff --git
a/src/term.c
b/src/term.c
index 50651a64c7896b6283f43dd8aa8e7e35f67e4b64..fc3d0c7d9139d18cb82653a3c42ab614d4cd691e 100644
(file)
--- a/
src/term.c
+++ b/
src/term.c
@@
-1506,6
+1506,17
@@
to do `unset TERMCAP' (C-shell: `unsetenv TERMCAP') as well.\n",
TS_standout_mode = tgetstr ("us", address);
}
+ /* If no `se' string, try using a `me' string instead.
+ If that fails, we can't use standout mode at all. */
+ if (TS_end_standout_mode == 0)
+ {
+ char *s = tgetstr ("me");
+ if (s != 0)
+ TS_end_standout_mode = s;
+ else
+ TS_standout_mode = 0;
+ }
+
if (TF_teleray)
{
Wcm.cm_tab = 0;